﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace Test.Windows
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            byte[] buffer= File.ReadAllBytes(@"\\services-pc\共享\Web(2016-4-26).7z");
            SaveFileDialog dlg = new SaveFileDialog();
            dlg.ShowDialog();
        }

        private void button2_Click(object sender, EventArgs e)
        {
            string text = "0123456789012345789012345789012345789012345789012345789";
            MessageBox.Show(text.PadRight(10,'_'));
        }
    }
}
